package com.zy.dp.state.example4;

public class StateMachine
{
	private State state;

	private Object businessVO = null;

	public State getState()
	{
		return state;
	}

	public void setState(State state)
	{
		this.state = state;
	}

	public Object getBusinessVO()
	{
		return businessVO;
	}

	public void setBusinessVO(Object businessVO)
	{
		this.businessVO = businessVO;
	}

	public void doWork()
	{

		this.state.doWork(this);
	}

}
